/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.hiof.moraa.server.service;

import javax.servlet.ServletContext;

/**
 *
 * @author Bergy
 */
public class FilePathService {

    public String getResourcePath(String relativePath) {
        //return "/norsemanserver" + relativePath;
        return relativePath;
    }

    public String getAbsolutePath(String fileName, ServletContext servletContext) {
        return servletContext.getRealPath(fileName);
    }
}
